<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" errorPage="hello.jsp" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<title>批阅试卷</title>
</head>
<body>
<jsp:include page="title.jsp" /><br/>

	<font color="red"><s:actionerror/></font>
	<font color="red"><s:actionmessage /></font>
<h4 align="center">
 试卷号：<s:property value="#request.examInfo.examID" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 试卷名：<s:property value="#request.examInfo.name" /></h4> <br/>

 <div style="position:absolute;left:10%;width:10;height:50;border-radius:15px;background-color:#F4FFED;margin-left: 8%;margin-right: 8%;float:right;margin-top:10px;margin-bottom:20px;padding:0 10px;" >
 <h3 align="center">简答题审阅：</h3><br/>
 
<s:form action="shenyueC.action"  namespace="" method="post">
  <s:if test="#request.shortAnswer1!=null">
  	1.&nbsp;<s:property value="#request.shortAnswer1.shortAnswer.shortAnswerContent" />&nbsp;(<s:property value="#request.shortAnswer1.examPaper.mark" />分)<br/>
    正确答案：<s:property value="#request.shortAnswer1.shortAnswer.shortAnswerAnswer" /> <br/>
    学生答案：<s:property value="#request.shortAnswer1.testPaper.answer" /> <br/>
    <input type="hidden" name="record1.testPaperID" value="<s:property value="#request.shortAnswer1.testPaper.testPaperID" />" /> 
    评分：&nbsp;<input type="text" name="record1.mark" value="<s:property value="#request.shortAnswer1.testPaper.mark" />" /> &nbsp;分 <br/><br/>
  </s:if>
 
   <s:if test="#request.shortAnswer2!=null">
  	2.&nbsp;<s:property value="#request.shortAnswer2.shortAnswer.shortAnswerContent" />&nbsp;(<s:property value="#request.shortAnswer2.examPaper.mark" />分)<br/>
    正确答案：<s:property value="#request.shortAnswer2.shortAnswer.shortAnswerAnswer" /> <br/>
    学生答案：<s:property value="#request.shortAnswer2.testPaper.answer" /> <br/>
    <input type="hidden" name="record2.testPaperID" value="<s:property value="#request.shortAnswer2.testPaper.testPaperID" />" /> 
    评分：&nbsp;<input type="text" name="record2.mark" value="<s:property value="#request.shortAnswer2.testPaper.mark" />" /> &nbsp;分 <br/><br/>
  </s:if>
  
   <s:if test="#request.shortAnswer3!=null">
  	3.&nbsp;<s:property value="#request.shortAnswer3.shortAnswer.shortAnswerContent" />&nbsp;(<s:property value="#request.shortAnswer3.examPaper.mark" />分)<br/>
    正确答案：<s:property value="#request.shortAnswer3.shortAnswer.shortAnswerAnswer" /> <br/>
    学生答案：<s:property value="#request.shortAnswer3.testPaper.answer" /> <br/>
    <input type="hidden" name="record3.testPaperID" value="<s:property value="#request.shortAnswer3.testPaper.testPaperID" />" /> 
    评分：&nbsp;<input type="text" name="record3.mark" value="<s:property value="#request.shortAnswer3.testPaper.mark" />"  /> &nbsp;分 <br/><br/>
  </s:if>
  
   <s:if test="#request.shortAnswer4!=null">
  	4.&nbsp;<s:property value="#request.shortAnswer4.shortAnswer.shortAnswerContent" />&nbsp;(<s:property value="#request.shortAnswer4.examPaper.mark" />分)<br/>
    正确答案：<s:property value="#request.shortAnswer4.shortAnswer.shortAnswerAnswer" /> <br/>
    学生答案：<s:property value="#request.shortAnswer4.testPaper.answer" /> <br/>
    <input type="hidden" name="record4.testPaperID" value="<s:property value="#request.shortAnswer4.testPaper.testPaperID" />" /> 
    评分：&nbsp;<input type="text" name="record4.mark" value="<s:property value="#request.shortAnswer4.testPaper.mark" />" /> &nbsp;分 <br/><br/>
  </s:if>
 
  <s:if test="#request.shortAnswer5!=null">
  	5.&nbsp;<s:property value="#request.shortAnswer5.shortAnswer.shortAnswerContent" />&nbsp;(<s:property value="#request.shortAnswer5.examPaper.mark" />分)<br/>
    正确答案：<s:property value="#request.shortAnswer5.shortAnswer.shortAnswerAnswer" /> <br/>
    学生答案：<s:property value="#request.shortAnswer5.testPaper.answer" /> <br/>
    <input type="hidden" name="record5.testPaperID" value="<s:property value="#request.shortAnswer5.testPaper.testPaperID" />" /> 
    评分：&nbsp;<input type="text" name="record5.mark" value="<s:property value="#request.shortAnswer5.testPaper.mark" />"  /> &nbsp;分 <br/><br/>
  </s:if>
 
 <input type="hidden" name="courseID" value="<s:property value="#request.needCourseID" />" />
 <input type="hidden" name="examID" value="<s:property value="#request.needExamID" />" />
 <input type="submit" class="btns" value="完成" />

 </s:form>
 
 </div>
</body>
</html> 